package com.cnhis.cloudhealth.clinical.hosnurse.hosparams.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.cnhis.cloudhealth.clinical.hosnurse.hosparams.bo.HosParamsBo;
import com.cnhis.cloudhealth.commons.Mappers.ModelVo;

@Service
public class HosParamsImpl implements IHosParams{
    @Autowired
    private HosParamsBo hosParamsBo;

    @Override
    public Boolean savedOneUserParameters(Map map) throws Exception {
        return hosParamsBo.savedOneUserParameters(map);
    }

    @Override
    public ModelVo getPublicParams() {
        return hosParamsBo.selectPublicParams();
    }

    @Override
    public ModelVo insertBeo(Map map) throws Exception {
        return hosParamsBo.insertBeo(map);
    }

    @Override
    public ModelVo queryAutoChargeSetting() throws Exception {
        return hosParamsBo.queryAutoChargeSetting();
    }

    @Override
    public ModelVo getBedParams(){
        return hosParamsBo.selectBedParams();
    }

    @Override
    public ModelVo getPtypeautofee() {
        return hosParamsBo.selectPtypeautofee();
    }

    @Override
    public ModelVo getFeetypetree() {
        return hosParamsBo.selectFeetypetree();
    }

    @Override
    public ModelVo getFeetypedetail(Map map) {
        return hosParamsBo.selectFeetypedetail(map);
    }
    
    @Override
    public ModelVo queryAuto2040() throws Exception {
        return hosParamsBo.queryAuto2040();
    }
    @Override
    public ModelVo queryAuto2008(Map map) {
        return hosParamsBo.select2008(map);
    }
    @Override
    public ModelVo queryAuto2009(Map map) {
        return hosParamsBo.select2009(map);
    }
    @Override
    public ModelVo queryAuto2011(Map map) {
        return hosParamsBo.queryAuto2011(map);
    }
}
